package com.dgh.school.service;

import com.dgh.school.bean.Affair;

import com.dgh.school.common.R;

import java.util.List;

public interface AffairService {
    List<Affair> selectAll();

    R selectByPage(int pageNum, int pageSize);

    void deleteAffair(int id) throws Exception;

    void updateData(Affair affair) throws Exception;
}
